<template>
	<view class="frame">
		<view>支付成功</view>
		<!-- <u-button @click="btn">返回</u-button> -->
		<view style="padding: 0 40rpx;margin-top: 40rpx;">
		  <u-button type="primary" size="large" @click="btn">返回</u-button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		methods:{
			btn(){
				let mchData = {action:"jumpOut" , jumpOutUrl:"http://apartment.liuchaoai.com/client/#/"}
				
				 let postData = JSON.stringify(mchData)
				
				 parent.postMessage(postData,"https://payapp.weixin.qq.com")
			}
		}
	}
</script>

<style lang="scss">
	.frame{
		height: 100vh;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
</style>
